package com.bestcem.xm.survey.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName ds_survey_respondentattachment
 */
@TableName(value = "ds_survey_respondentattachment")
@Data
@EqualsAndHashCode(callSuper = true)
public class SurveyRespondentAttachment extends BaseEntity2 {
    /**
     *
     */
    @TableId(value = "id")
    private String id;

    /**
     * 问卷ID
     */
    @JsonProperty("project_id")
    @TableField(value = "project_id")
    private String projectId;

    /**
     * 答卷SEQ
     */
    @TableField(value = "seq")
    private Integer seq;

    /**
     * 问题ID
     */
    @TableField(value = "qid")
    private Integer qid;

    /**
     * 选项ID
     */
    @JsonProperty("option_id")
    @TableField(value = "option_id")
    private Integer optionId;

    /**
     * 文件大小
     */
    @TableField(value = "size")
    private Integer size;

    /**
     * FileMap ID
     */
    @JsonProperty("filemap_id")
    @TableField(value = "filemap_id")
    private String filemapId;

    /**
     * 文件下载地址
     */
    @TableField(value = "url")
    private String url;

    /**
     * 文件类型
     */
    @TableField(value = "ftype")
    private Integer ftype;

    /**
     * 文件名
     */
    @TableField(value = "name")
    private String name;
}